package com.itheima.pojo;


import java.io.Serializable;

public class Sport implements Serializable {

    private Integer id;         //id
    private String helpCode;    //运动助记码
    private String name;        //运动名称
    private String frequency;   //运动次数
    private String duration;    //运动时间

    public Sport() {
    }

    public Sport(Integer id, String helpCode, String name, String frequency, String duration) {
        this.id = id;
        this.helpCode = helpCode;
        this.name = name;
        this.frequency = frequency;
        this.duration = duration;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHelpCode() {
        return helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    @Override
    public String toString() {
        return "Sport{" +
                "id=" + id +
                ", helpCode='" + helpCode + '\'' +
                ", name='" + name + '\'' +
                ", frequency='" + frequency + '\'' +
                ", duration='" + duration + '\'' +
                '}';
    }
}
